#pragma once

#include "Material.h"
#include "ShaderMaterial.h"

POCELAIN_NAMESPACE_BEGIN

class POCELAIN_EXPORT MeshMaterial: public ShaderMaterial
{
public:
    friend IRenderer;
    MeshMaterial(){}
    virtual bool isMeshMaterial() const override { return true;}
    virtual EObjectClass getObjectClass() const override {return EObjectClass::E_MESH_MATERIAL;}

    bool getWireframe()const {return wireframe;}
    void setWireframe(bool val){wireframe = val;}

    float getWireframeLineWidth()const {return wireframeLinewidth;}
    void setWireframeLineWidth(float val){wireframeLinewidth = val;}

private:
    bool wireframe = false;
    float wireframeLinewidth = 1;
};
POCELAIN_NAMESPACE_END
